package pers.cj.pdos.controller.print;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/print")
public class PrintController {

    @RequiresPermissions("packet:print")
    @RequestMapping("/goodsPacketPrint")
    public String goodsPacketPrint(){
        return "print/goodsPacketPrint";
    }

    @RequiresPermissions("saleOrder:print")
    @RequestMapping("/saleOrderPrint")
    public String saleOrderPrint(){
        return "print/saleOrderPrint";
    }


    @RequiresPermissions("sale:print")
    @RequestMapping("/salePrint")
    public String salePrint(){
        return "print/salePrint";
    }


    @RequiresPermissions("refund:print")
    @RequestMapping("/refundPrint")
    public String refundPrint(){
        return "print/refundPrint";
    }

    @RequiresPermissions("goods:print")
    @RequestMapping("/printCode")
    public String printCode() {
        return "print/printCode";
    }

    @RequiresPermissions("budget:print")
    @RequestMapping("/budgetPrint")
    public String budgetPrint(){
        return "print/budgetPrint";
    }

    @RequestMapping("/goodsTemplatePrint")
    @RequiresPermissions("goodsTemplate:print")
    public String goodsTemplatePrint() {
        return "print/goodsTemplatePrint";
    }


    @RequestMapping("/inGoodsOrderPrint")
    @RequiresPermissions("inGoodsOrder:print")
    public String inGoodsOrderPrint() {
        return "print/inGoodsOrderPrint";
    }


    @RequestMapping("/inGoodsPrint")
    @RequiresPermissions("inGoods:print")
    public String inGoodsPrint() {
        return "print/inGoodsPrint";
    }


    @RequestMapping("/houseInPrint")
    @RequiresPermissions("houseIn:print")
    public String houseInPrint() {
        return "print/houseInPrint";
    }


    @RequestMapping("/houseWaitInPrint")
    @RequiresPermissions("houseIn:print")
    public String houseWaitInPrint() {
        return "print/houseWaitInPrint";
    }


    @RequestMapping("/inGoodsRefundPrint")
    @RequiresPermissions("inGoodsRefund:print")
    public String inGoodsRefundPrint() {
        return "print/inGoodsRefundPrint";
    }

    @RequestMapping("/houseOutPrint")
    @RequiresPermissions("houseOut:print")
    public String houseOutPrint() {
        return "print/houseOutPrint";
    }


    @RequestMapping("/houseWaitOutPrint")
    @RequiresPermissions("houseOut:print")
    public String houseWaitOutPrint() {
        return "print/houseWaitOutPrint";
    }


    @RequiresPermissions("joinSplit:print")
    @RequestMapping("/joinSplitPrint")
    public String joinSplitPrint(){
        return "print/joinSplitPrint";
    }


    @RequiresPermissions("goodsTransfer:print")
    @RequestMapping("/goodsTransferPrint")
    public String goodsTransferPrint(){
        return "print/goodsTransferPrint";
    }

    @RequiresPermissions("borrowIn:print")
    @RequestMapping("/borrowInPrint")
    public String borrowInPrint(){
        return "print/borrowInPrint";
    }

    @RequiresPermissions("borrowIn:print")
    @RequestMapping("/borrowInBackPrint")
    public String borrowInBackPrint(){
        return "print/borrowInBackPrint";
    }


    @RequiresPermissions("borrowOut:print")
    @RequestMapping("/borrowOutPrint")
    public String borrowOutPrint(){
        return "print/borrowOutPrint";
    }


    @RequiresPermissions("borrowOut:print")
    @RequestMapping("/borrowOutBackPrint")
    public String borrowOutBackPrint(){
        return "print/borrowOutBackPrint";
    }


    @RequiresPermissions("checkHouse:print")
    @RequestMapping("/checkHousePrint")
    public String checkHousePrint(){
        return "print/checkHousePrint";
    }


    @RequiresPermissions("payOrder:print")
    @RequestMapping("/payOrderPrint")
    public String payOrderPrint(){
        return "print/payOrderPrint";
    }


    @RequiresPermissions("arrearsOrder:print")
    @RequestMapping("/arrearsOrderPrint")
    public String arrearsOrderPrint(){
        return "print/arrearsOrderPrint";
    }
}
